﻿using GameView.Models;

namespace GameView.Comment
{
    public class BaseQueryDto : BaseDto
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页行数
        /// </summary>
        public int PageSize { get; set; } = 20;

        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndTime { get; set; }

        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortProperty { get; set; } = "Id";

        /// <summary>
        /// 排序规则
        /// </summary>
        public string SortType { get; set; } = "desc";
    }
}